<template>
  <div class="header">
    <div class="home iconfont icon-zhuye"></div>
    <div class="title">Login</div>
    <div class="search iconfont icon-sousuo"></div>
    <div class="cart iconfont icon-gouwuchekong"></div>
  </div>
</template>
<script>
export default {
  // 组件名字
  name: "Top",
  // 状态数据
  data() {
    return {};
  },
};
</script>
<style lang="less" scoped>
.header {
  height: 1.17rem;
  width: 100%;
  display: flex;
  align-items: center;
  border-bottom: 1px solid salmon;
  justify-content: space-around;
  .home {
    height: 0.8533rem;
    width: 0.8533rem;
    font-size: 0.64rem;
    margin-left: 0.4rem;
  }
  .title {
    flex: 5;
    height: 0.8533rem;
    width: 2.2933rem;
    text-align: center;
  }
  .search {
    height: 0.8533rem;
    width: 0.8533rem;
    font-size: 0.64rem;
  }
  .cart {
    height: 0.8533rem;
    width: 0.8533rem;
    font-size: 0.64rem;
    margin-right: 0.4rem;
  }
}
</style>
